package com.org.csu.service;

import com.org.csu.dto.KeywordDTO;
import com.org.csu.entity.CompKey;
import com.org.csu.entity.Word;

import java.util.List;

/**
 * @author YigongLily
 * @version V1.0
 * Copyright (c) 2024, t8669@qq.com All Rights Reserved.
 * @ProjectName:e-commerce-back
 * @Title: KeywordRecordService
 * @Package com.org.csu.service
 * @Description: kwrservice
 * @date 2024/12/15 12:06
 */

public interface KeywordRecordService {

    //将用户搜索插入到数据库
    public void insertKeywordRecord(String keyword, List<KeywordDTO> mid, List<CompKey>comp, List<Word>trend, Integer rate, Integer userId);
    //获取用户搜索记录
    public Object getKeywordRecord(String userId);
}